struct _StIconPrivate
{
- ClutterActor *icon_texture;
- ClutterActor *pending_texture;
- guint opacity_handler_id;
-
- GIcon *gicon;
- gint prop_icon_size; /* icon size set as property */
- gint theme_icon_size; /* icon size from theme node */
- gint icon_size; /* icon size we are using */
- GIcon *fallback_gicon;
-
- CoglPipeline *shadow_pipeline;
- StShadow *shadow_spec;
- ClutterSize shadow_size;
+ ClutterActor *icon_texture;
+ ClutterActor *pending_texture;
+ guint opacity_handler_id;
+
+ GIcon *gicon;
+ gint prop_icon_size; /* icon size set as property */
+ gint theme_icon_size; /* icon size from theme node */
+ gint icon_size; /* icon size we are using */
+ GIcon *fallback_gicon;
+
+ CoglPipeline *shadow_pipeline;
+ StShadow *shadow_spec;
+ graphene_size_t shadow_size;
};
G_DEFINE_TYPE_WITH_PRIVATE (StIcon, st_icon, ST_TYPE_WIDGET)
StIconPrivate *priv = icon->priv;
g_clear_pointer (&priv->shadow_pipeline, cogl_object_unref);
- clutter_size_init (&priv->shadow_size, 0, 0);
+ graphene_size_init (&priv->shadow_size, 0, 0);
}
static void
priv->icon_texture);
if (priv->shadow_pipeline)
- clutter_size_init (&priv->shadow_size, width, height);
+ graphene_size_init (&priv->shadow_size, width, height);
}
}
}